package cn.silver.module.system.bean;

import cn.silver.framework.mybatis.bean.BaseBean;
import cn.silver.module.system.domain.SysUserAvatar;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author zhouxiaobo
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysUserAvatar.class)
@Schema(name = "AvatarBean", title = "邮箱地址对象")
public class AvatarBean extends BaseBean {

    @Schema(title = "归属用户")
    private String userId;

    /**
     * 名称
     */
    @Schema(title = "名称")
    private String fileName;
    /**
     * 保存路径
     */
    @Schema(title = "保存路径")
    private String filePath;

    /**
     * 上传时间
     */
    @Schema(title = "上传时间")
    private Date uploadTime;
    /**
     * 状态
     */
    @Schema(title = "状态")
    private String status;
}
